package com.cskaoyan.service;

import com.cskaoyan.bean.bo.back.UpdateGoodsBO;
import com.cskaoyan.bean.bo.goodsbo.GoodsBo;
import com.cskaoyan.bean.po.BaseParam;
import com.cskaoyan.bean.po.MarketGoods;
import com.cskaoyan.bean.vo.back.ShowCatAndBrandByIdVO;
import com.cskaoyan.bean.vo.back.ShowCatAndBrandVO;

import java.util.List;

/**
 * @program: SSMItem
 * @description
 * @author: YY
 * @create: 2022-10-12 21:08
 **/
public interface AdminGoodsService {
    List<MarketGoods> selectGoods(BaseParam baseParam, Integer goodsSn, String name, Integer goodsId);

    void insertGoods(GoodsBo goodsBo);


    List<MarketGoods> selectAllGoods(Integer limit);

    ShowCatAndBrandVO showCatAndBrand();

    ShowCatAndBrandByIdVO showCatAndBrandById(Integer id);

    int updateGoods(UpdateGoodsBO updateGoodsBO);

    int deleteGoods(MarketGoods marketGoods);

}
